@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">

            <input type="hidden" id="id" value="">

            <div class="row">
                <div class="col-sm-7" b-r>
                    <#select id="receiveType" name="发送类型" onChange="MessageInfoDlg.changeType()" underline="true">
                        <option value=1>全部</option>
                        <option value=2>区域</option>
                        <option value=3>个人</option>
                    </#select>
                    <#input id="userName" name="发送对象" underline="true" hidden="receiveTips" readonly="readonly"
                            clickFun="MessageInfoDlg.searchUserByType(); return false;"
                            style="background-color: #ffffff !important;" underline="true"/>

                    <#input id="subject" name="发送主题" underline="true"/>

                    <#textarea id="content" name="发送内容" rows="3"></#textarea>
                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="存稿" id="store" icon="fa-check" clickFun="MessageInfoDlg.addStore()"/>
                    <#button btnCss="info" name="发送" id="ensure" icon="fa-check" clickFun="MessageInfoDlg.addSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="MessageInfoDlg.close()"/>
                </div>
            </div>
        </div>
        <!-- 这是区域数 -->
        <div id="areaContent" class="menuContent"
             style="display: none; position: absolute; z-index: 200;">
            <ul id="areaTree" class="ztree tree-box" style="width: 250px !important;"></ul>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/system/message/message_info.js"></script>
@}
